<?php /* Smarty version 2.6.13, created on 2011-08-28 12:06:31
         compiled from manage_editnews.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 't', 'manage_editnews.tpl', 17, false),)), $this); ?>
<script src="includes/js/tiny_mce/tiny_mce.js" type="text/javascript"></script>
<script src="includes/js/editor.js" type="text/javascript"></script>

<div class="wrap">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="54px" height="43px" class="fr_lefttop"></td>
	<td height="43px" class="fr_centertop" ></td>
	<td width="48px" height="43px" class="fr_righttop"></td>
	</tr>
	<tr>
	<td width="54px" class="fr_leftmiddle" >&nbsp;</td>
	<td class="fr_centermiddle">
<?php if ($_COOKIE['message'] != null): ?>
	<div id="ajaxResponse1" class="ajaxResponse fade" style="display:block"><?php echo $_COOKIE['message']; ?>
</div>
<?php endif; ?>
<h2><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Edit News<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></h2>
<form name="editnews" id="editnews" enctype="multipart/form-data" method="post" action="?mod=<?php echo $_GET['mod']; ?>
&sub1=<?php echo $_GET['sub1']; ?>
" >
	<input type="hidden" name="act" value="editnews" />
	<input type="hidden" name="news_id" value="<?php echo $_GET['id']; ?>
" />
	<table class="editform" width="100%" cellspacing="2" cellpadding="5">
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="news_title"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>News title:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label></th>
			<td width="67%">
			<input name="news_title" id="news_title" type="text" value="<?php echo $this->_tpl_vars['NEWS']->news_title; ?>
" size="50" /></td>
		</tr>
		<tr>
			<th width="33%" valign="middle">
			<?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Image:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?> :</th>
			<td width="67%">
			<input type="file" name="news_image" />
            </td>
		</tr>
        <tr>
			<th width="33%" scope="row" valign="middle">
			</th>
			<td width="67%">
            <img src="<?php echo $this->_tpl_vars['PATH'];  echo $this->_tpl_vars['NEWS']->news_image; ?>
" />
            </td>
		</tr>
		<tr>
			<th scope="row" valign="top">
			<label for="news_content"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>News short:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label></th>
			<td><textarea name="news_short" id="news_short" rows="5" cols="10" style="width: 100%"><?php echo $this->_tpl_vars['NEWS']->news_short; ?>
</textarea></td>
		</tr>
		<tr>
			<th scope="row" valign="top">
			<label for="news_content"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>News content:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label></th>
			<td><textarea name="news_content" id="news_content" rows="15" cols="10" style="width: 100%"><?php echo $this->_tpl_vars['NEWS']->news_content; ?>
</textarea></td>
		</tr>
        <tr>
			<th scope="row" valign="top">
			<label for="news_content"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Tag:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label></th>
			<td><textarea name="tags" class="NOTanEditor" cols="80" rows="10" id="tags"><?php echo $this->_tpl_vars['NEWS']->tags; ?>
</textarea></td>
		</tr>
	</table>
	<p class="submit" align = "right">
		<input type="submit" name="submit" value="<?php $this->_tag_stack[] = array('t', array('escape' => false)); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Update News &raquo;<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>" />
	</p>
</form>
</td>
	<td width="48px" class="fr_rightmiddle"></td>
	</tr>
	<tr>
	<td width="54px" height="60px" class="fr_leftbot" ></td>
	<td height="60px" class="fr_centerbot"></td>
	<td width="48px" height="60px" class="fr_rightbot" ></td>
	</tr>
</table>
</div>